from django.conf.urls import patterns, include, url

urlpatterns = patterns('posts.views',
    url(r'^(?P<cat_id>\d+)/$', 'cat_list'),
    url(r'^(?P<cat_url>\w+)/$', 'cat_list'),
    url(r'^item/(?P<object_id>\d+)/$', 'show'),
    url(r'^item/(?P<object_url>\w+)/$', 'show'),
)